<div class="articles form">
	<h2><?php echo __d('articles','Edit Article'); ?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php 
			echo $this->Html->link(__d('articles','Cancel'), array('controller'=>'menuses','action' => 'index'),array('class'=>'action-left')); 
			echo $this->Form->postLink(__d('articles','Delete'), array('action' => 'delete', $this->Form->value('Article.id')), array('class'=>'action-right'), __d('articles','Are you sure you want to delete # %s?', $this->Form->value('Article.id'))); ?>
		<?php echo $this->Html->link(__d('articles','Submit'), '#',array('onclick'=>'document.ArticleEditForm.submit(); event.returnValue = false; return false;','class'=>'submit')); ?>
	</div>
	<div class="clear"></div>
	
<?php echo $this->Form->create("Article",array('name'=>'ArticleEditForm')); ?>
	<fieldset>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('list_content');
		echo $this->Cksource->ckeditor('Article.content',array('config'=>array('height'=>'600','class'=>'counter')));
		echo $this->Form->input('name',array('label'=>__d('articles','Title'),'class'=>'counter'));		
		echo $this->Form->input('descriptions',array('class'=>'counter'));
		echo $this->Form->input('keywords');
		echo $this->Form->input('metas',array('label'=>__d('articles','Meta tags only for this article')));
		echo $this->Form->input('menuses_id',array('label'=>__d('articles','Select URL for article')));
		echo $this->Form->input('Rating');
		echo $this->Form->input('modified');
		echo $this->Form->input('display_name',array('label'=>__d('articles','Display title as H1')));
		echo $this->Form->input('display_autor');
		echo $this->Form->input('display_date');
		echo $this->Form->input('display_gallery');
		echo $this->Form->input('display_rating');
		echo $this->Form->input('display_homepage');
		echo $this->Form->input('status',array('type'=>'checkbox'));	
	?>
	</fieldset>
<?php echo $this->Form->end(__d('articles','Submit'));?>
</div>
<?php echo $this->element('/menu/left')?>